﻿using System;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;

namespace SacNetUG.Models
{
    [MetadataType(typeof(SponsorCategoryMd))]
    public partial class SponsorCategory
    {
        #region Nested type: SponsorCategoryMd

        internal class SponsorCategoryMd
        {
            [Required(ErrorMessage = "Required")]
            public String Name { get; set; }

            [Required(ErrorMessage = "Required"), DisplayName("Sort Order")]
            public int SortOrder { get; set; }
        }

        #endregion
    }
}